package routers

import (
	"backSever/controllers/MyDefault"

	"github.com/gin-gonic/gin"
)

func DefaultRoutersInit(r *gin.Engine) {
	DefaultRouter := r.Group("/")
	{
		DefaultRouter.GET("/", MyDefault.DefaultController{}.Login)
		DefaultRouter.GET("/users", MyDefault.DefaultController{}.GetUsers)
		DefaultRouter.GET("/takeaway", MyDefault.DefaultController{}.GetFoots)
	}
}
